﻿using Forum.Model.Dto;
using Forum.Model.Entity.System;
using Forum.Model.Pager;
using Forum.Model.Request;
using Microsoft.AspNetCore.Http;

namespace Forum.Service.Interface
{
    public interface IUserInfoService
    {
        IPagedList<SYS_USER> GetPagedList(UserQueryParameters param);
        Task<int> AddUsers(List<UserInfoReq> param);
        bool AddUser(UserInfoReq user);
        UserInfoResp GetUser(string userId);
        bool UpdatePwd(PwdReq req);
        string UploadAvatar(IFormFile file);
    }
}
